package soft.quicknote.beans;

public class Category {
    private int id;
    private String name;
    private boolean checked;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Category(int id,String name){
        this.setId(id);
        this.setName(name);
    }

    public boolean isChecked() {
        return checked;
    }

    public void setChecked(boolean checked) {
        this.checked = checked;
    }
    @Override
    public String toString(){
        return name;
    }
}
